cross

infix fun IntRange.cross(other: IntRange): IntRange(source)

Creates an intersection between this and the other range, returning LongRange.EMPTY if there's no overlap.